#ifndef D3DFLYWEIGHT_H_
#define D3DFLYWEIGHT_H_

#include <d3d9.h>
#include <d3dx9.h>

struct Direct3DFlyweight
{
	IDirect3D9					*pD3D;
	IDirect3DDevice9			*pDev;
	D3DPRESENT_PARAMETERS		D3Dpp;

	//float						fGammaValue;

	//ID3DXLine					*pLine;	// Draws lines
	//ID3DXFont					*pFont;	// Draws Debug text
	//ID3DXSprite					*pSprite; // Draws textures

	Direct3DFlyweight() : pD3D(0), pDev(0)/*, fGammaValue(0.f), pLine(0), pFont(0), pSprite(0)*/ { }
};

extern Direct3DFlyweight g_D3D;

#endif